package com.mes.spc.rule;

public abstract class SPCCommandbase {
	public int id;
    public int warningCount;
    public String title;
    public String description;
    public abstract boolean excute(double data, double usl, double lsl, double ucl, double lcl, double standard);
    
    public String toString()
    {
    	return getTitle()+":"+getDescription();
    }
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getWarningCount() {
		return warningCount;
	}
	public void setWarningCount(int warningCount) {
		this.warningCount = warningCount;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
    
    
}
